'''                                     # 1
Created on 2012-9-27                    # 2
                                        # 3
@author: infear                         # 4
'''                                     # 5
import fileinput                        # 6
for line in fileinput.input(inplace=True, backup="pypy"):# 7
    line=line.rstrip();                 # 8
    num=fileinput.lineno();             # 9
    print '%-40s#%2i'%(line,num)        #10
